const express = require('express');
const router = express.Router();
const alarmCon = require('../controllers/alarmController')

router.get('/getAlarmHis', alarmCon.getAlarmHis);
router.get('/getAlarmCfg', alarmCon.getAlarmCfg);
router.post('/newRecord', alarmCon.addAlarmRecord);
router.post('/updateRecord', alarmCon.updateAlarmRecord);
router.get('/removeRecord', alarmCon.removeAlarmRecord);

module.exports = router;